package com.atguigu.jxc.controller;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.service.DamageListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/damageListGoods")
public class DamageListController {

    @Autowired
    private DamageListService damageListService;

    @RequestMapping("/save")
    public ServiceVO save(DamageList damageList, String damageListGoodsStr){
        return damageListService.save(damageList,damageListGoodsStr);
    }






}
